package pers.jason.wppm.workflow.entity;

import lombok.Data;
import org.activiti.engine.impl.persistence.entity.DeploymentEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: JZH
 * @Date: 2018/11/14 21:44
 * @Description:
 */
@Data
public class DeploymentResult implements Serializable {

    private static final long serialVersionUID = 1L;

    protected String id;

    protected String name;

    protected Date deploymentTime;

    public DeploymentResult() {
    }

    public DeploymentResult(DeploymentEntity deploymentEntity) {
        this.id = deploymentEntity.getId();
        this.name = deploymentEntity.getName();
        this.deploymentTime = deploymentEntity.getDeploymentTime();
    }


}
